# $Id: Makefile 38 2005-07-31 15:00:59Z tim $

BUILD_FILES=$(BUILD_DOC)/man/man1/reglookup.1.gz

default: $(BUILD_FILES)

$(BUILD_DOC)/man/man1/reglookup.1.gz: man/man1/reglookup.1.gz
	mkdir -p $(BUILD_DOC)/man/man1
	cp man/man1/reglookup.1.gz $@

install:
	cp -r $(BUILD_DOC)/* $(DOC_PREFIX)
	ln -sf $(DOC_PREFIX)/man/man1/*  $(MAN_PREFIX)/man1


#XXX: Used during release only
release:
	txt2tags --mask-email -t man -o man/man1/reglookup.1 reglookup.1.t2t
	cd man/man1 && gzip -9 reglookup.1
